<?php
$mk=mktime(date('ihs'));

if($tipo==1){
echo '<iframe id="iframe'.$mk.'" src="http://192.168.66.26/nagios3/index2.php" width="100%" height="100%" border="0" frameborder="0"></iframe>';
//echo '<iframe id="iframe'.$mk.'" src="framework_pdf/web/viewer.html" width="100%" height="100%" border="0" frameborder="0"></iframe>';




}else if($tipo==2){
echo '<iframe id="iframe'.$mk.'" src="http://192.168.66.26/cgi-bin/nagios3/status.cgi?hostgroup=all&style=hostdetail" width="100%" height="100%" border="0" frameborder="0"></iframe>';

}



?>
